package itdfq.dfq.Behavior_Patters.visitor;

/**
 * @Author GocChin
 * @Date 2021/5/25 16:25
 * @Blog: itdfq.com
 * @QQ: 909256107
 */
public class CodingCourse extends Course{
    private int price;

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    @Override
    public void accept(IVisitor visitor) {
        visitor.visit(this);
    }
}
